package fl.ass.service.dao;

import cmm.service.core.framework.dao.IBaseDao;
import cn.cmm.base.framework.exception.BaseException;
import fl.ass.facade.condition.AssTrailCarChannelQC;
import fl.ass.service.po.AssTrailCarChannel;
import org.apache.ibatis.annotations.Param;

/**
 *  @Description: 拖车渠道表 持久层
 *  @Description: 持久层方法名称前缀：新增：insert* 删除：delete* 修改：update* 批量：batch* 查询对象：select* get* find* 查询集合：select*
 */
public interface AssTrailCarChannelMapper extends IBaseDao<AssTrailCarChannel,AssTrailCarChannelQC> {

    /**
     * 启用 禁用 渠道
     * @param id
     * @return
     * @throws BaseException
     */
    public boolean enAbleChannel(@Param("id") Long id, @Param("isValid") Integer isValid) throws BaseException;

}
